package com.dhcy.mqtt.result.ht;

import cn.hutool.core.util.ObjectUtil;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author han
 * @Date 2022/3/17
 * @apiNote
 */
@Data
public class RevEquipmentPushDto implements Serializable {

    private String code;
    private String name;
    private String number;
    private String statusCode;
    private String statusValue;
    private String value;
    private String puValue;
    private String uvalue;
    private String createTime;

    public String getValue() {
        if (ObjectUtil.isEmpty(value)){
            return "";
        }
        return value;
    }

    public String getPuValue() {
        if (ObjectUtil.isEmpty(puValue)){
            return "";
        }
        return puValue;
    }

    public String getUvalue() {
        if (ObjectUtil.isEmpty(uvalue)){
            return "";
        }
        return uvalue;
    }


}
